Skip to main content
Version: 5.x.x

CacheMethodType


import { CacheMethodType } from "@hyper-fetch/core"

Description

Defined in cache/cache.types.ts:76

Preview

type CacheMethodType<CacheData> = CacheData | (previousData: CacheData | null) => CacheData;

Structure

CacheData | (previousData: CacheData | null) => CacheData